﻿using System;

namespace Gamemaster
{
    public static class Dice
    {
        public static int Roll(int numberOfDice)
        {
            if (numberOfDice < 1 || numberOfDice > 999)
            {
                throw new ArgumentOutOfRangeException("numberOfDice", numberOfDice, "Must be integer between 1 and 999");
            }

            return numberOfDice;
        }
        public static int Roll()
        {
            return 1;
        }
    }
}
